package com.example.dmweb;

import lombok.Data;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name="xml")
public class WechatPushPkg {
    @XmlElement
    private String toUserName;

    @XmlElement
    private String fromUserName;

    @XmlElement
    private String createTime;

    @XmlElement
    private String msgType;

    @XmlElement
    private String event;

    @XmlElement
    private String eventKey;

    @XmlElement
    private String ticket;

    public String getFromUserName(){
        return fromUserName;
    }
    public String getTicket(){
        return ticket;
    }
    public String getEvent(){
        return event;
    }

}
